package com.example.seckill.controller;

import com.example.seckill.vo.LoginVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname: LoginController
 * @Description: 登录
 * @Date: 2021/2/3 22:09
 * @Created: by Wang Xu
 */
@RestController
@Slf4j
@RequestMapping("/login")
public class LoginController {


    @RequestMapping("/toLogin")
    public String toLogin() {
        return "toLogin";
    }


    @RequestMapping("/doLogin")
    public String doLogin(LoginVo loginVo){
        log.info("{}",loginVo);
        return "";
    }
}
